home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / dsp / dr.bub / 96000.lha / 96000 / appb / b138b.asm < prev    next >
Assembly Source File  |  1992-04-28  |  901b  |  16 lines

  1. ; This program was originally published in the Motorola DSP96002 Users Manual
  2. ; and is provided under a DISCLAIMER OF WARRANTY available from Motorola DSP
  3. ; Operation, 6501 William Cannon Drive West, Austin, Texas 78735-8598.  For
  4. ; more information, refer to the DSP96002 Users Manual, Appendix B, DSP
  5. ; Benchmarks.
  6. ;
  7.  ;B.1.38.2    Pack Two 16 Bit Words Into a 32 Bit Word  
  8. ;The following packs two 16 bit words into a single 32 bit word.  The  words to be packed are right jus-
  9. ;tified in two separate registers:  
  10. ;      d0 = xY       d1 = xZ  
  11. ;              Two 16 Bit Packs                              Program    ICycles 
  12. ;                                                            Words 
  13.     join    d0,d1    ;d1 = YZ                              1        1 
  14. ;                                                          ---      --- 
  15.                                                  Totals:  1        1 
  16.